package com.value.exception;

public class PersistenceException extends BaseException {

	private static final long serialVersionUID = 546966002551920581L;

	/**
	 * @param message
	 */
	public PersistenceException(String message) {
		super(ErrorCode.PERSISTENCE_FAILED, message);
	}

	/**
	 * @param cause
	 */
	public PersistenceException(Throwable cause) {
		super(ErrorCode.PERSISTENCE_FAILED, cause);
	}

	/**
	 * @param message
	 * @param cause
	 */
	public PersistenceException(String message, Throwable cause) {
		super(ErrorCode.PERSISTENCE_FAILED, message, cause);
	}
	
	/**
	 * @param errorCode
	 * @param message
	 */
	public PersistenceException(ErrorCode errorCode, String message) {
		super(errorCode, message);
	}

	/**
	 * @param errorCode
	 * @param cause
	 */
	public PersistenceException(ErrorCode errorCode, Throwable cause) {
		super(errorCode, cause);
	}

	/**
	 * @param errorCode
	 * @param message
	 * @param cause
	 */
	public PersistenceException(ErrorCode errorCode, String message, Throwable cause) {
		super(errorCode, message, cause);
	}

}
